package com.example.administrator.xiaoxiang.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2017/1/11.
 */
@Entity
public class ShopingcartEntity{
    @Id
    private long _id;//id
    private String photoUrl;//图片的网址
    private String title;//标题
    private String price_old;
    private String num;//数量
    private String price_new;//分期价格
    private String count;//期数
    public String getCount() {
        return this.count;
    }
    public void setCount(String count) {
        this.count = count;
    }
    public String getPrice_new() {
        return this.price_new;
    }
    public void setPrice_new(String price_new) {
        this.price_new = price_new;
    }
    public String getNum() {
        return this.num;
    }
    public void setNum(String num) {
        this.num = num;
    }
    public String getPrice_old() {
        return this.price_old;
    }
    public void setPrice_old(String price_old) {
        this.price_old = price_old;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getPhotoUrl() {
        return this.photoUrl;
    }
    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }
    public long get_id() {
        return this._id;
    }
    public void set_id(long _id) {
        this._id = _id;
    }
    @Generated(hash = 100036773)
    public ShopingcartEntity(long _id, String photoUrl, String title,
            String price_old, String num, String price_new, String count) {
        this._id = _id;
        this.photoUrl = photoUrl;
        this.title = title;
        this.price_old = price_old;
        this.num = num;
        this.price_new = price_new;
        this.count = count;
    }
    @Generated(hash = 2060770667)
    public ShopingcartEntity() {
    }

    @Override
    public String toString() {
        return "ShopingcartEntity{" +
                "_id=" + _id +
                ", photoUrl='" + photoUrl + '\'' +
                ", title='" + title + '\'' +
                ", price_old='" + price_old + '\'' +
                ", num='" + num + '\'' +
                ", price_new='" + price_new + '\'' +
                ", count='" + count + '\'' +
                '}';
    }
}
